<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">

<head>

    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>


    <title>电销管理</title>

    <link rel="shortcut icon" href="static/favicon.ico"/>

    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet"/>
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet"/>
    <link href="css/animate.css" rel="stylesheet"/>
    <link href="css/style.css?v=4.1.0" rel="stylesheet"/>

    <link th:href="@{static/css/jquery-ui.css}" rel="stylesheet"/>
    <!-- jqgrid-->
    <link href="css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet"/>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>

    <script src="js/bootstrap.min.js?v=3.3.6"></script>



    <!-- jqGrid -->
    <script src="js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>

    <script src="static/js/jquery-ui-1.10.4.min.js"></script>
    <script th:src="@{static/js/jquery-ui.custom.min.js}"></script>
    <script th:src="@{static/js/lin/dialog.js}"></script>
    <script th:src="@{static/js/lin/salesmanagement.js}"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>

    <!-- Sweet alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet"/>
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <!-- laydate -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>

    <style>
        /* Additional style to fix warning dialog position */
        #alertmod_table_list_2 {
            top: 900px !important;
        }

        th{
            border-bottom: 1px solid #DDDDDD !important;
            vertical-align: bottom !important;
        }
    </style>

</head>

<body class="gray-bg">


<div id="loading" style="text-align: center;">
    <img alt="alt" th:src="@{img/loading.gif}"/>
</div>

<!-- 添加或者修改窗体-->
<!-- 修改弹窗  -->
<div class="ui-jqdialog modal-content jqmID1" id="changedialog"
     dir="ltr"
     style="width: auto; height: auto; z-index: 950; overflow: hidden; top: 20%; left: 40%; display: none;"
     tabindex="-1" role="dialog" aria-labelledby="edithdtable_list_2"
     aria-hidden="false">
    <div class="ui-jqdialog-titlebar modal-header" id="edithdtable_list_2"
         style="cursor: move;">
        <span class="ui-jqdialog-title" style="float: left;">修改信息</span>
    </div>
    <div class="ui-jqdialog-content modal-body" id="editcnttable_list_2">
        <div>
            <form name="FormPost" id="salesmanagementadd"  class="navbar-form navbar-left" >
                <div class="form-group">
                    <div class="row">
                        <div class="col-lg-2">
                            <div class="input-group">
                            <span class="input-group-addon">
                                内容
                            </span>
                                <input  type="text" id="dataparam" name="dataparam" placeholder="内容"   />
                                <input  type="hidden" id="userId" name="userId"  placeholder="用户id"   />
                                <input  type="hidden"  id="date" name="date"  placeholder="时间"   />
                                <input  type="hidden"  id="isType"  name="isType"  placeholder="类型"   />
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div style="margin-top: 25%;text-align: center;">
                            <button type="button" class="btn btn-success" id="submit">提交</button>
                            <button type="button" class="btn btn-success" id="exit">取消</button>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>

</div>




<!-- 查询条件 -->
<div class="panel panel-default">
    <div class="panel-heading">查询条件</div>
    <div class="panel-body">
        <div class="row">
            <div class="col-lg-2">
                <div class="input-group">
                        <span class="input-group-addon">
                            部门
                        </span>
                    <select class="form-control" name="dept" id="dept">
                        <option th:each="dept:${depts}" th:value="${dept.id}" th:text="${dept.name}"></option>
                    </select>
                </div>
            </div>
            <div class="col-lg-2">
                <div class="input-group">
                        <span class="input-group-addon">
                            日期
                        </span>
                        <input name="starttime" id="starttime" placeholder="开始日期" class="form-control layer-date"  />
                </div>
            </div>
            <div class="col-lg-2">
                <button type="button" class="btn btn-success" id="query">查询</button>
                <button type="button" class="btn btn-success" id="exportexel">导出</button>
            </div>
        </div>
    </div>
</div>

<!-- 主体 -->
<div class="wrapper wrapper-content  animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">
            <div class="jqGrid_wrapper" id="jqGrid_wrapper">
                <table id="table_list_2"></table>
                <div id="pager_list_2"></div>
            </div>
        </div>
    </div>
</div>


</body>

</html>
